package com.huanqiu.mylib.util;

import android.webkit.CookieManager;
import android.webkit.ValueCallback;

import androidx.annotation.Nullable;

public class WebViewUtil {

    /**
     * https://blog.csdn.net/ezconn/article/details/106460367
     */
    public static void removeAllCookies(@Nullable ValueCallback<Boolean> callback) {
        CookieManager cookieManager = CookieManager.getInstance();
        cookieManager.removeAllCookies(callback);
    }

}
